package com.zl.system.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface fieldListApiMapper {

    @Select("select column_name as fieldName,column_comment as fieldLabel from information_schema.columns where  table_name=#{tableName}")
    List<Map<String, Object>> getListApi(String tableName);
}
